package org.cs.mgr.before.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="find_goods")
public class FindGoods implements Serializable{

	private int id;

    private String goodsId;

    private String userId;

    private String findImage1;

    private String findImage2;

    private String findImage3;

    private String findContext;

    private Date createTime;

    private Byte isDelete;

    private String attr1;

    private String attr2;

    private String attr3;
    
    @Id
    @GeneratedValue(strategy=GenerationType.AUTO)
    @Column(name = "ID")  
    public int getId() {
        return id;
    }

    public void setId(int id) {
    	this.id = id;
    }
    @Column(name = "GOODS_ID") 
    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId == null ? null : goodsId.trim();
    }
    @Column(name = "USER_ID") 
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }
    @Column(name = "FIND_IMAGE1") 
    public String getFindImage1() {
        return findImage1;
    }

    public void setFindImage1(String findImage1) {
        this.findImage1 = findImage1 == null ? null : findImage1.trim();
    }
    @Column(name = "FIND_IMAGE2") 
    public String getFindImage2() {
        return findImage2;
    }

    public void setFindImage2(String findImage2) {
        this.findImage2 = findImage2 == null ? null : findImage2.trim();
    }
    @Column(name = "FIND_IMAGE3") 
    public String getFindImage3() {
        return findImage3;
    }

    public void setFindImage3(String findImage3) {
        this.findImage3 = findImage3 == null ? null : findImage3.trim();
    }
    @Column(name = "FIND_CONTEXT") 
    public String getFindContext() {
        return findContext;
    }

    public void setFindContext(String findContext) {
        this.findContext = findContext == null ? null : findContext.trim();
    }
    @Column(name = "CREATE_TIME") 
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    @Column(name = "IS_DELETE") 
    public Byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }
    @Column(name = "ATTR1") 
    public String getAttr1() {
        return attr1;
    }

    public void setAttr1(String attr1) {
        this.attr1 = attr1 == null ? null : attr1.trim();
    }
    @Column(name = "ATTR2") 
    public String getAttr2() {
        return attr2;
    }

    public void setAttr2(String attr2) {
        this.attr2 = attr2 == null ? null : attr2.trim();
    }
    @Column(name = "ATTR3") 
    public String getAttr3() {
        return attr3;
    }

    public void setAttr3(String attr3) {
        this.attr3 = attr3 == null ? null : attr3.trim();
    }

}
